package com.dingwen.treasure.mybatisplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dingwen.treasure.model.entity.mybatisplus.TreasureMessage;
import com.dingwen.treasure.mybatisplus.bo.NeedDeliverMessageBO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author dingwen
* @description 针对表【treasure_message(消息表)】的数据库操作Mapper
* @createDate 2022-08-09 13:18:00
* @Entity com.dingwen.treasure.model.entity.mybatisplus.TreasureMessage
*/
@Repository
public interface TreasureMessageMapper extends BaseMapper<TreasureMessage> {

    /**
     * 获取需要进行投递的消息信息
     *
     * @return {@link List}<{@link NeedDeliverMessageBO}>
     */
    List<NeedDeliverMessageBO> getNeedDeliverMessageInfo();
}




